<%@ page language="java" import="java.util.*, org.apache.struts2.ServletActionContext" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
	String serverPath = ServletActionContext.getServletContext().getRealPath("/");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head> 
    <title> Struts 2 File Upload</title>
</head>
<body> 
    <div style ="padding: 3px; border: solid 1px #cccccc; text-align: center" > 
    	
        <img src ="/UploadImage/${imageFileName}" />
        <br /> 
        <s:property value ="caption" /> 
        <p>为什么不显示呢？？</p>
        <img src="resource/img/baby.jpg" />
	</div>
	</body>
</html>
